home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / gadgets / radiobutton.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-19  |  1.6 KB  |  59 lines

  1. #ifndef GADGETS_RADIOBUTTON_H
  2. #define GADGETS_RADIOBUTTON_H
  3. /*
  4. **    $VER: radiobutton.h 44.1 (19.10.1999)
  5. **    Includes Release 44.1
  6. **
  7. **  Definitions for the radiobutton.gadget BOOPSI class
  8. **
  9. **    (C) Copyright 1987-1999 Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. /*****************************************************************************/
  14.  
  15. #ifndef REACTION_REACTION_H
  16. #include <reaction/reaction.h>
  17. #endif
  18.  
  19. #ifndef INTUITION_GADGETCLASS_H
  20. #include <intuition/gadgetclass.h>
  21. #endif
  22.  
  23. /*****************************************************************************/
  24.  
  25. /* Defines for the radiobutton node attributes.
  26.  */
  27. #define RBNA_Dummy        (TAG_USER+0x020000)
  28.  
  29. #define RBNA_UserData    (RBNA_Dummy+1)
  30.     /* (APTR) User Data. */
  31.  
  32. #define RBNA_Labels        (RBNA_Dummy+2)
  33.     /* (STRPTR) Text string array of labels for MX buttons. */
  34.  
  35. /*****************************************************************************/
  36.  
  37. /* Additional attributes defined by the RadioButton class
  38.  */
  39. #define RADIOBUTTON_Dummy            (REACTION_Dummy + 0x14000)
  40.  
  41. #define    RADIOBUTTON_Labels            (RADIOBUTTON_Dummy+1)
  42.     /* (struct List *) Radio Button Label List. */
  43.  
  44. #define    RADIOBUTTON_Strings            (RADIOBUTTON_Dummy+2)
  45.     /* RESERVED - presently unsupported */
  46.  
  47. #define    RADIOBUTTON_Spacing            (RADIOBUTTON_Dummy+3)
  48.     /* (WORD) Spacing between radio buttons */
  49.  
  50. #define    RADIOBUTTON_Selected        (RADIOBUTTON_Dummy+4)
  51.     /* (WORD) selected radio button (OM_GET/OM_SET/OM_NOTIFY) */
  52.  
  53. #define    RADIOBUTTON_LabelPlace        (RADIOBUTTON_Dummy+5)
  54.     /* (WORD) label location (OM_GET/OM_SET) */
  55.  
  56. /*****************************************************************************/
  57.  
  58. #endif /* GADGETS_RADIOBUTTON_H */
  59.